package com.tedu.user.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class UserParam {

    @ApiModelProperty(value = "员工用户id")
    private Long userId;
    @ApiModelProperty(value = "员工用户姓名")
    private String username;
    @ApiModelProperty(value = "员工用户密码")
    private String password;
    @ApiModelProperty(value = "昵称")
    private String name;
    @ApiModelProperty(value = "手机号")
    private String phone;
    @ApiModelProperty(value = "邮箱")
    private String email;
    @ApiModelProperty(value = "住址")
    private String address;
    @ApiModelProperty(value = "性别")
    private String gender;
    @ApiModelProperty(value = "生日")
    private Date birthday;

    @ApiModelProperty(value = "微信id")
    private String wechat_openid;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

}
